<template>
	<div class="test">
		<h1>{{msg}}</h1>
		<h2>姓名：{{name}}</h2>
		<h2>性别：{{sex}}</h2>
		<h2>年龄：{{myage + 1}}</h2>

	</div>
</template>

<script>

	
	export default {
		name:"Student",
		data(){
			return {
				msg:"我是尚硅谷的学生",
				name:"学生",
				sex:"男",
				myage:19,
				x:666, 
			}
		},
	}
</script>

<style>
	.test{
		background-color: orangered;
	}
</style>